const path = require('path')
module.exports = {
	// 微信小程序端对应的微信支付及登录配置配置
	wxConfigMp: {
		appId: 'xxxxx',
		secret: 'xxxxxxx',
		mchId: 'xxxxx',
		key: 'xxxxx',
	},
	// App端对应的微信支付配置
	wxConfigApp: {
		appId: '',
		mchId: '',
		key: '',
	},
	// 微信PC网站支付
	wxConfigH5: {
		appId: '',
		mchId: '',
		key: '',
	},
	// 支付宝小程序端对应的支付宝支付及登录配置
	aliConfigMp: {
		mchId: "",
		appId: "",
		alipayPublicKey: "",
		privateKey: "",
	},
	// App端对应的支付宝支付配置
	aliConfigApp: {
		mchId: "",
		appId: "",
		alipayPublicKey: "",
		privateKey: "",
	},
	// App端对应的支付宝支付配置
	aliConfigApp: {
		mchId: "",
		appId: "",
		privateKey: "",
		alipayRootCertPath: path.resolve(__dirname, './cert/alipayRootCert.crt'),
		appCertPath: path.resolve(__dirname, './cert/appCertPublicKey.crt'),
		alipayPublicCertPath: path.resolve(__dirname, './cert/alipayCertPublicKey_RSA2.crt'),
		sandbox: true
	},
	//短信验证码配置
	smsConfig: {
		smsKey: "",
		smsSecret: "",
		templateId: "",
		name:"zxshop"
	}
}